package com.linjiahao.servicebase.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import lombok.Data;

/**
 * @ClassName NettyMessageVO
 * @Description: 消息发送接受vo
 * @Author linjiahao
 * @Date 6/1/2022
 **/
@Data
public class NettyMessageVO {

    /**
    * 发送者id
    * */
    @JSONField(serializeUsing= ToStringSerializer.class)
    private Long userId;
    /**
     * 接受者id
     * */
    @JSONField(serializeUsing= ToStringSerializer.class)
    private Long receiveId;
    /**
     * 消息类型
     * */
    private Integer messageType;

    /**
     * 消息id
     * */
    private String messageId;

    /**
     * 消息内容
     * */
    private String data;

    /**
     * 消息类型为图片
     * */
    private String img;

    /**
     * 通道id
     * */
    private Object channelId;

    private Integer pageNo;

    private Integer pageSize;

    private String nickName;

    private String myImg;

}
